package com.sudo.dao.admin.model.bo;

import com.sudo.common.utils.PageBO;
import com.sudo.common.validenum.EnumValue;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author：DayDayUp
 * @Create：2023/2/28 11:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysSimpleRoleBO extends PageBO {

    private String roleName;

    private String roleCode;

    @EnumValue(strValues = {"ON","OFF"} ,message = "状态必须为指定值ON/OFF")
    private String status;
}
